import request from '@/utils/request.js'

// 获取手机验证码
function getCodesMmobile (mobile) {
  return request({
    url: '/v1_0/sms/codes/' + mobile
  })
}

// 登录
function authorizationsPost (data) {
  return request({
    url: '/v1_0/authorizations',
    method: 'post',
    noToken: true,
    data
  })
}

export { getCodesMmobile, authorizationsPost }
